package com.sicau.basedemo.entity.vo.practicenews;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 团队新闻稿返回对象
 * </p>
 *
 * @author sxt && ttxxi
 * @since 2021-04-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PracticeNews对象", description="团队新闻稿表")
@TableName("practice_news_vo")
public class PracticeNewsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "团队id")
    private Integer teamId;

    @ApiModelProperty(value = "团队名称")
    private String teamName;

    @ApiModelProperty(value = "新闻稿标题")
    private String title;

    @ApiModelProperty(value = "新闻稿内容")
    private String content;

    @ApiModelProperty(value = "新闻稿封面")
    private String cover;

    @ApiModelProperty(value = "新闻稿创建者id")
    private Integer creatorId;

    @ApiModelProperty(value = "创建者名称")
    private String creatorName;

    @ApiModelProperty(value = "发布时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "审核状态(0: 审核中,1: 审核通过, 2: 审核不通过)")
    private Integer state;


}
